package ink.teamwork.stock.entity;

import ink.teamwork.base.BaseRecordEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Transient;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class Optional extends BaseRecordEntity {

    private String userId;
    private String stockId;
    private String name;
    private String code;
    @Transient
    private double chg;

}
